import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
// @ 表示的是src目录
import Hello from "@/components/Hello"
import Lmy from "@/components/Lmy";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/hello',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/lmy',
      name: 'lmy',
      component: Lmy
    }
  ]
})
